import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

const routes: Routes = [
  {
    path: 'config',
    loadChildren: './tpl-config/tpl-config.module#TplConfigModule'
  },
  {
    path: 'create',
    loadChildren: './tpl-create/tpl-create.module#TplCreateModule'
  },
  {
    path: 'manage',
    loadChildren: './tpl-manage/tpl-manage.module#TplManageModule'
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class TplTemplateRoutingModule { }
